//
//  TopicCollectionViewCell.m
//  FlowerRainGround
//
//  Created by zfc on 16/4/20.
//  Copyright © 2016年 lanou. All rights reserved.
//

#import "TopicCollectionViewCell.h"

@implementation TopicCollectionViewCell


- (void)setDataWithModel:(TopicModel *)model {
    [self.imageView sd_setImageWithURL:[NSURL URLWithString:model.ico]];
    self.typeLabel.text = model.name;
    
}
/*
// Only override drawRect: if you perform custom drawing.
// An empty implementation adversely affects performance during animation.
- (void)drawRect:(CGRect)rect {
    // Drawing code
}
*/

@end
